import { MutationTree } from 'vuex';
import * as types from './doc-types';

var docMutations: MutationTree<DocState> = {
  [types.SHOW](state, paylopy) {
    state.name = paylopy.name;
  },
};

export default docMutations;
